using System;
using System.Windows.Forms;
using ctsu.BaseForms;

namespace ctsu.Admin.BusLogic
{
	public class FormReportBaseControllerImpl : IFormReportBaseController
	{
		private FormReportBase _formReport;
		private IBLFormReportBase _blReport;

		public FormReportBaseControllerImpl()
		{

		}
		#region IFormReportController Members

		public FormReportBase FormReport
		{
			get { return _formReport; }
			set { _formReport = value; }
		}
		public IBLFormReportBase BLReport
		{
			get { return _blReport; }
			set { _blReport = value; }
		}

		public void Print(object sender, EventArgs e)
		{
			_blReport.Print();
		}

		public void GenericAction(Control sender, EventArgs e)
		{
			_blReport.GenericAction(sender, e);
		}

		public void Run(object sender, EventArgs e)
		{
			_blReport.Run();
		}

		public void Exit(object sender, EventArgs e)
		{
			_blReport.Exit();
		}
		#endregion
	}
}
